﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Assessment.aspx.cs" Inherits="Course_Assessment" %>
<%@ Reference Control="~/Course/UserControls/AssessmentQuestion.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <asp:UpdatePanel ID="pnlUpdateItem" runat="server">
        <ContentTemplate>
        <asp:Label ID="lblStatus" runat="server" Font-Size="12pt"></asp:Label>
        <asp:Panel ID="pnlQuestions" runat="server"></asp:Panel>
        <asp:Button ID="btnSubmit" runat="server" Text="Submit Answers" OnClick="SubmitAnswers" />
        </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
<script language="javascript" type="text/javascript">
    if(<%= AuthFail %>)
        parent.location = "<%= RedirectLoc %>"
</script>
</html>

